package com.shiminghui;

public class ShangHeYuShu {
    public static void main(String[] args) {

        /**/
        int a = 100;
        int b =10;
        int flag = 0;
        while (a>=b){
            a=a-b;
            flag++;
        }
        System.out.println("商"+flag+"余数"+a);
    }
}
